<? 
	global $FullUrl, $lg; 
?>

<div class="grid_7">
<div id="linkcat-24" class="popular">
  <div class="content-box">
    <div class="content-box-top">&nbsp;</div>
    <div class="content-box-medium">
      <?    
	if($articles){ 
?>
      <h3>Bài Viết Gần Đây</h3>
      <ul class="xoxo blogroll">
        <?
        for($i = 0; $i < count($articles); $i++)
        {
        
            $article_name = $articles[$i]['name_'.$lg]?$articles[$i]['name_'.$lg]:NO_NEWS;                
            if(!empty($articles[$i]['name_'.$lg]))
                $article_link = $FullUrl.GetArtLinkFull($articles[$i], $lg); 
            else
                $article_link = "#";
            
            $article_short = $articles[$i]['short_'.$lg]  ;  
            $img = $articles[$i]['img']  ;  
            $img = $FullUrl.'/'.GetImage($img);
   		 ?>
        <li <?=(($i+1) == 3 ? 'class="indent-bot"': '')?>><a href="<?=$article_link?>">
          <?=$article_name?>
          </a></li>
        <? } ?>
      </ul>
      <?}?>
    </div>
    <div class="content-box-bottom">&nbsp;</div>
  </div>
</div>
<div>
